3.4.48 \(\int \sec ^3(c+d x) (a+a \sin (c+d x))^m \, dx\) [348]

Optimal. Leaf size=47 \[ -\frac {a \, _2F_1\left (2,-1+m;m;\frac {1}{2} (1+\sin (c+d x))\right ) (a+a \sin (c+d x))^{-1+m}}{4 d (1-m)} \]

[Out]

-1/4*a*hypergeom([2, -1+m],[m],1/2+1/2*sin(d*x+c))*(a+a*sin(d*x+c))^(-1+m)/d/(1-m)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2746, 70} \begin {gather*} -\frac {a (a \sin (c+d x)+a)^{m-1} \, _2F_1\left (2,m-1;m;\frac {1}{2} (\sin (c+d x)+1)\right )}{4 d (1-m)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sec[c + d*x]^3*(a + a*Sin[c + d*x])^m,x]

[Out]

-1/4*(a*Hypergeometric2F1[2, -1 + m, m, (1 + Sin[c + d*x])/2]*(a + a*Sin[c + d*x])^(-1 + m))/(d*(1 - m))

Rule 70

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[(b*c - a*d)^n*((a + b*x)^(m + 1)/(b^(
n + 1)*(m + 1)))*Hypergeometric2F1[-n, m + 1, m + 2, (-d)*((a + b*x)/(b*c - a*d))], x] /; FreeQ[{a, b, c, d, m
}, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] && IntegerQ[n]

Rule 2746

Int[cos[(e_.) + (f_.)*(x_)]^(p_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(b^p*f), S
ubst[Int[(a + x)^(m + (p - 1)/2)*(a - x)^((p - 1)/2), x], x, b*Sin[e + f*x]], x] /; FreeQ[{a, b, e, f, m}, x]
&& IntegerQ[(p - 1)/2] && EqQ[a^2 - b^2, 0] && (GeQ[p, -1] ||  !IntegerQ[m + 1/2])

Rubi steps

\begin {align*} \int \sec ^3(c+d x) (a+a \sin (c+d x))^m \, dx &=\frac {a^3 \text {Subst}\left (\int \frac {(a+x)^{-2+m}}{(a-x)^2} \, dx,x,a \sin (c+d x)\right )}{d}\\ &=-\frac {a \, _2F_1\left (2,-1+m;m;\frac {1}{2} (1+\sin (c+d x))\right ) (a+a \sin (c+d x))^{-1+m}}{4 d (1-m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 6 vs. order 5 in optimal.
time = 37.80, size = 10814, normalized size = 230.09 \begin {gather*} \text {Result too large to show} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

Integrate[Sec[c + d*x]^3*(a + a*Sin[c + d*x])^m,x]

[Out]

Result too large to show

________________________________________________________________________________________

Maple [F]
time = 0.12, size = 0, normalized size = 0.00 \[\int \left (\sec ^{3}\left (d x +c \right )\right ) \left (a +a \sin \left (d x +c \right )\right )^{m}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(d*x+c)^3*(a+a*sin(d*x+c))^m,x)

[Out]

int(sec(d*x+c)^3*(a+a*sin(d*x+c))^m,x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)^3*(a+a*sin(d*x+c))^m,x, algorithm="maxima")

[Out]

integrate((a*sin(d*x + c) + a)^m*sec(d*x + c)^3, x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)^3*(a+a*sin(d*x+c))^m,x, algorithm="fricas")

[Out]

integral((a*sin(d*x + c) + a)^m*sec(d*x + c)^3, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a \left (\sin {\left (c + d x \right )} + 1\right )\right )^{m} \sec ^{3}{\left (c + d x \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)**3*(a+a*sin(d*x+c))**m,x)

[Out]

Integral((a*(sin(c + d*x) + 1))**m*sec(c + d*x)**3, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(d*x+c)^3*(a+a*sin(d*x+c))^m,x, algorithm="giac")

[Out]

integrate((a*sin(d*x + c) + a)^m*sec(d*x + c)^3, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a+a\,\sin \left (c+d\,x\right )\right )}^m}{{\cos \left (c+d\,x\right )}^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a*sin(c + d*x))^m/cos(c + d*x)^3,x)

[Out]

int((a + a*sin(c + d*x))^m/cos(c + d*x)^3, x)

________________________________________________________________________________________